using System;
using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations.Schema;

namespace Augustu.Models.WMS
{
    [Table("stock")]
    public class Stock : BaseModel
    {

         /// <summary>
         /// skuId
         /// </summary>
         [Comment("skuId")]
         [Column("sku_id")]
         public long?  SkuId{ get; set;}

         /// <summary>
         /// 仓位id
         /// </summary>
         [Comment("仓位id")]
         [Column("slot_id")]
         public string  SlotId{ get; set;} = string.Empty;

         /// <summary>
         /// 数量
         /// </summary>
         [Comment("数量")]
         [Column("qty")]
         public int?  Qty{ get; set;}

         /// <summary>
         /// 是否冻结
         /// </summary>
         [Comment("是否冻结")]
         [Column("is_freeze")]
         public bool?  IsFreeze{ get; set;}

         /// <summary>
         /// 序号
         /// </summary>
         [Comment("序号")]
         [Column("series_number")]
         public string  SeriesNumber{ get; set;} = string.Empty;

    }
}
          
